﻿using Phoenix.Xna.Framework.ContentPipeline;

namespace Phoenix.Xna.Framework.Graphics
{
    /// <summary>
    /// Defines the interface for objects that can load content from the contentpipeline.
    /// </summary>
    public interface IHasContent
    {
        /// <summary>
        /// Gets a value indicating the content for the instance has been loaded.
        /// </summary>
        bool IsContentLoaded { get; }

        /// <summary>
        /// Loads any graphics related content from the content pipeline.
        /// </summary>
        void LoadContent();

        /// <summary>
        /// Unloads any graphics related content from the content pipeline.
        /// </summary>
        void UnloadContent();
    }
}
